var CONFIG = window.CONFIG = {}



CONFIG.viewWidth = 640
CONFIG.viewHeight = 480
CONFIG.viewResize = 50
CONFIG.arenaSize = 2000
CONFIG.gravity = 30
CONFIG.cameraHeight = 2000
CONFIG.cameraSpeed = 10

	
BLACKSMITH.element(document.head, 'style', {'type': 'text/css'}, [
  'html, body {',
  '  width:  100%;',
  '  height: 100%;',
  '  margin: 0px;',
  '  overflow: hidden;',
  '  font: Arial, sans-serif;',
  '}',
  '.' + (CONFIG.styleView = 'lvl-View') + ' {',
  '  position: absolute;',
  '  top: 0;',
  '  left: 0;',
  '  right: 0;',
  '  bottom: 0;',
  '}',
  '.' + (CONFIG.styleUIFocused = 'lvl-Focused') + ' {',
  '  position: absolute;',
  '  bottom: 0;',
  '  left: 0;',
  '  width: 100px;',
  '  height: 100px;',
  '  background: #dddddd;',
  '  border: 1px solid #555555;',
  '  padding: 5px;',
  '}',
  '.' + (CONFIG.styleUIAttached = 'lvl-Attached') + ' {',
  '  position: absolute;',
  '  bottom: 0;',
  '  left: 111px;',
  '  height: 95px;',
  '  background: #aaaaaa;',
  '  border: 1px solid #555555;',
  '}',
  '.' + (CONFIG.styleUIComponent = 'lvl-Component') + ' {',
  '  display: inline-block;',
  '  width: 95px;',
  '  height: 95px;',
  '  border: 1px solid #555555;',
  '  text-align: center;',
  '}',
  '.' + (CONFIG.styleUIShop = 'lvl-Shop') + ' {',
  '  position: absolute;',
  '  bottom: 101px;',
  '  left: 111px;',
  '  height: 95px;',
  '  background: #dddddd;',
  '  border: 1px solid #555555;',
  '}'
])